package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.po.SysDocumentNum;
import com.xinsoft.entity.vo.SysDocumentNumVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【sys_document_num(单据流水号)】的数据库操作Mapper
* @createDate 2023-06-05 16:06:51
* @Entity com.xinsoft.entity.po.SysDocumentNum
*/
public interface SysDocumentNumMapper extends BaseMapper<SysDocumentNum> {

    IPage<SysDocumentNumVo> findListByParam(Page<?> page, @Param("documentId")Integer documentId);

    List<SysDocumentNumVo> findListByParam(@Param("documentId")Integer documentId);
}




